﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Combat/Combat.master" AutoEventWireup="true"
    CodeFile="AptitudeStat.aspx.cs" Inherits="Aptitude_AptitudeStat" StylesheetTheme="Content" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <ul class="topmenu">
        <li>题目：
            <asp:DropDownList ID="ddlExam" runat="server">
            </asp:DropDownList>
        </li>
        <li>
            <asp:DropDownList ID="ddlRnaker" runat="server" AppendDataBoundItems="True">
                <asp:ListItem Value="0">全部</asp:ListItem>
            </asp:DropDownList>
        </li>
        <li>
            <asp:RadioButtonList runat="server" ID="rblContranct" RepeatDirection="Horizontal">
                <asp:ListItem Value="-1" Text="全部" Selected="True">
           
                </asp:ListItem>
                <asp:ListItem Value="0" Text="消防官兵">
           
                </asp:ListItem>
                <asp:ListItem Value="1" Text="合同制消防员">
           
                </asp:ListItem>
            </asp:RadioButtonList>
        </li>
        <li>
            <asp:LinkButton runat="server" ID="LinkButton1" Text="统计" OnClick="LinkButton1_Click"></asp:LinkButton>
        </li>
        <li style="float: right">
            <asp:UpdateProgress runat="server" ID="Progress">
                <ProgressTemplate>
                    <div>
                        <span style="color: Red">正在统计中... </span>
                        <img src="../../Images/ajax-loader.gif" alt="统计中" /></div>
                </ProgressTemplate>
            </asp:UpdateProgress>
        </li>
    </ul>
    <div class="clear">
    </div>
    <div style="height: 450px">
        <asp:UpdatePanel runat="server" ID="UpdPanel">
            <Triggers>
                <asp:AsyncPostBackTrigger ControlID="LinkButton1" />
            </Triggers>
            <ContentTemplate>
                <asp:GridView ID="gvStat" GridLines="Both" BorderWidth="1" runat="server" AutoGenerateColumns="False"
                    BorderColor="#CEE7F7" RowStyle-BorderColor="#CEE7F7" OnRowDataBound="gvStat_RowDataBound">
                    <Columns>
                        <asp:BoundField DataField="FullName" HeaderText="单位" ItemStyle-BorderColor="#CEE7F7"
                            ItemStyle-Width="40%" />
                        <asp:TemplateField HeaderText="总数">
                            <ItemTemplate>
                                <asp:Label ID="lblSum" runat="server"></asp:Label>
                            </ItemTemplate>
                            <ItemStyle BorderColor="#CEE7F7" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="考核">
                            <ItemTemplate>
                                <asp:Label ID="lblExam" runat="server"></asp:Label>
                            </ItemTemplate>
                            <ItemStyle BorderColor="#CEE7F7" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="合格">
                            <ItemTemplate>
                               <asp:HyperLink ID="lblOk" runat="server"></asp:HyperLink>
                            </ItemTemplate>
                            <ItemStyle BorderColor="#CEE7F7" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="参考率">
                            <ItemTemplate>
                                <asp:Label ID="lblCanKaolu" runat="server"></asp:Label>
                            </ItemTemplate>
                            <ItemStyle BorderColor="#CEE7F7" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="合格率">
                            <ItemTemplate>
                                <asp:Label ID="lblOKLu" runat="server"></asp:Label>
                            </ItemTemplate>
                            <ItemStyle BorderColor="#CEE7F7" />
                        </asp:TemplateField>
                    </Columns>
                    <RowStyle HorizontalAlign="Center" BorderColor="#CEE7F7" />
                </asp:GridView>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
</asp:Content>
